<!DOCTYPE html>
<html th:fragment="layout (title, content)" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:replace="${title}">模板标题</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="/js/jquery-3.4.1.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/popper.min.js"></script>
    <style>
        body {
            background: #f5f5f5;
        }
         .container {
             padding: 30px 10px;
         }
    </style>
</head>
<body>
    <div th:replace="layouts/header"></div>

    <div th:replace="${content}">
    </div>
</body>
</html>
